package com.baidu.mapapi;

import java.util.ArrayList;

public class MKDrivingRouteResult
{
  private MKPlanNode a;
  private MKPlanNode b;
  private ArrayList<MKRoutePlan> c;
  private MKRouteAddrResult d;

  void a(MKPlanNode paramMKPlanNode)
  {
    this.a = paramMKPlanNode;
  }

  void a(MKRouteAddrResult paramMKRouteAddrResult)
  {
    this.d = paramMKRouteAddrResult;
  }

  void a(ArrayList<MKRoutePlan> paramArrayList)
  {
    this.c = paramArrayList;
  }

  void b(MKPlanNode paramMKPlanNode)
  {
    this.b = paramMKPlanNode;
  }

  public MKRouteAddrResult getAddrResult()
  {
    return this.d;
  }

  public MKPlanNode getEnd()
  {
    return this.b;
  }

  public int getNumPlan()
  {
    if (this.c != null)
      return this.c.size();
    return 0;
  }

  public MKRoutePlan getPlan(int paramInt)
  {
    if (this.c != null)
      return (MKRoutePlan)this.c.get(paramInt);
    return null;
  }

  public MKPlanNode getStart()
  {
    return this.a;
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.baidu.mapapi.MKDrivingRouteResult
 * JD-Core Version:    0.6.2
 */